package com.app.service;

import com.app.model.EnterpriseInformationModel;
import com.app.model.PersonalInformationModel;
import com.app.model.SubsidyApplicationDetailsModel;
import com.app.util.Result;
import com.baomidou.mybatisplus.extension.service.IService;


public interface SubsidyApplicationDetailsService  extends IService<SubsidyApplicationDetailsModel> {


    /**
     * 新增一条申请记录详情
     *
     * @param id
     * @param enterpriseInformationModel
     * @param personalInformationModel
     * @param subsidyApplicationId
     * @param subsidyApplicationDetailId
     * @return
     */
    Result add(Integer id, EnterpriseInformationModel enterpriseInformationModel, PersonalInformationModel personalInformationModel, Integer subsidyApplicationId, Integer subsidyApplicationDetailId);

    /**
     * 根据申请表Id查询申请详情表 审核状态进度
     * @param subsidyApplicationId
     * @return
     */
    Result getSAStatusBySAId(Integer subsidyApplicationId);

    /**
     * 小程序————重新审核时根据Id查询
     * @param subsidyApplicationDetailId
     * @return
     */
    Result getDetailById(Integer subsidyApplicationDetailId);
}
